package com.kfm.shop.controller;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class Main {
    public static void main(String[] args) {
        List<Integer> arr = new ArrayList<>();
        for (int i = 0; i < 10; i++) {
            int a = new Random().nextInt(37) + 1;
            if (!arr.contains(a)) {
                arr.add(a);
            } else {
                i--;
            }
        }
        System.out.println(arr);
    }
}
